package com.wx.mall.feign.hystrix;

import com.wx.mall.feign.FeignDemoClient;
import com.wx.mall.common.vo.user.DemoVo;
import lombok.extern.slf4j.Slf4j;
import org.springframework.stereotype.Component;

@Slf4j
@Component
public class FeignDemoClientHystrix implements FeignDemoClient {

    @Override
    public DemoVo info(int id) {
        log.error("=============>>>> FeignDemoClientHystrix <<<=============");
        log.error("method: {}, id：{}","info(int id)",id);
        log.error("=============>>>> FeignDemoClientHystrix <<<=============");
        return null;
    }
}
